package com.sen.patterns.structural.composite.ex1;

public class Cabinet extends CompositeEquipment {

	public Cabinet(String name) {
		super(name);
	}

	public double discountPrice() {
		return 2.0 + super.discountPrice();
	}

	public double netPrice() {
		return 0.1 + super.netPrice();
	}

}
